/**
 * 
 */
package com.blog.service;

import java.util.List;
import java.util.Set;

import com.blog.pojo.SysMenu;
import com.blog.pojo.SysRole;

/**
 * @author zyj
 *
 */
public interface SysMenuService {
	public Set<String> listSysMenus(String userName);
	 
    public List<SysMenu> list();
    public void add(SysMenu SysMenu);
    public void delete(Long id);
    public SysMenu get(Long id);
    public void update(SysMenu SysMenu);
 
    public List<SysMenu> list(SysRole role);
    
    public boolean needInterceptor(String requestURI);

	public Set<String> listMenusURLs(String userName);
}
